package jenamuseum.annotation;
import java.io.Serializable;

import android.content.Context;
import annotation.display.TextAnnotationDisplay;


public class Annotation extends AnnotationBase implements Serializable{
	private static final long serialVersionUID = 1L;

	public int id;
	public String artwork;
	public String body;
	public String author;
	public String title;
	
	public Annotation()
	{
		super();
	}
	public Annotation(int id,String title,String artwork, String body, String author )
	{
		super();
		this.setId(id);
		this.setTitle(title);
		this.setArtwork(artwork);
		this.setBody(body);
		this.setAuthor(author);	
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getId() {
		return id;
	}
	public void setArtwork(String artwork) {
		this.artwork = artwork;
	}
	public String getArtwork() {
		return artwork;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getBody() {
		return body;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getAuthor() {
		return author;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTitle() {
		return title;
	}
	@Override
	public void showAnnotation(Context context) {
		new TextAnnotationDisplay(context, this);
	}
	
	
	
	

}
